/*
 *    Copyright (c) 2023 李伟国
 *    moyu is licensed under Mulan PSL v2.
 *    You can use this software according to the terms and conditions of the Mulan PSL v2.
 *    You may obtain a copy of Mulan PSL v2 at:
 *             http://license.coscl.org.cn/MulanPSL2
 *    THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 *    See the Mulan PSL v2 for more details.
 */

package cn.moyu.service.impl;

import cn.moyu.conf.page.PageFactory;
import cn.moyu.entity.KettleTransInfo;
import cn.moyu.mapper.KettleTransInfoMapper;
import cn.moyu.service.IKettleTransInfoService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 转换信息
 */

@Service
public class KettleTransInfoServiceImpl extends ServiceImpl<KettleTransInfoMapper, KettleTransInfo> implements IKettleTransInfoService {
    /**
     * 获取TransInfo列表
     *
     * @param name   trans名称
     * @param isUsed 使用状态
     * @return 结果
     */
    @Override
    public Page<KettleTransInfo> getListPage(String name, Integer isUsed) {
        return this.baseMapper.selectListPage(PageFactory.defaultPage(), name, isUsed);
    }


}
